package com.alipay.sofa.demo.db.common.service;


import com.alipay.sofa.demo.db.common.entity.StudentInfo;

import java.util.List;

/**
 * 查询学生数据service
 * @Author Zhang Da
 * @Date 2020/2/13 15:09
 * @Version 1.0
 */
public interface StudentQueryService {

    /**
     * 根据学号查询学生信息
     * @param studentNo
     * @return
     */
    StudentInfo queryStudentByStudentNo(String studentNo);

    /**
     * 根据条件查询学生信息
     * @param studentNo
     * @param collegeName
     * @param majorName
     * @param grade
     * @param className
     * @param admissionTicketNo
     * @param scoreTotal
     * @return
     */
    List<StudentInfo> queryStudentsByConditions(String studentNo, String collegeName, String majorName, String grade,
                                                String className, String admissionTicketNo, Double scoreTotal);
}
